import React from 'react'
import { PageHeaderWrapper } from '@ant-design/pro-layout'
import { Card } from 'antd'
import Chunk from '../components/chunk'
import { data } from '../data'

export default () => {

    const dataList: data[] = [
        { title: "礼品管理", desc: "礼品管理列表", url: "http://uniapp.b2b2c.niuteam.cn/addon/gift/icon.png" },
        { title: "积分兑换", desc: "积分兑换商品列表", url: "http://uniapp.b2b2c.niuteam.cn/addon/pointexchange/icon.png" },
        { title: "兑换订单", desc: "兑换订单列表", url: "http://uniapp.b2b2c.niuteam.cn/addon/pointexchange/icon.png" },
    ];
    return (
        <PageHeaderWrapper title={false}>
            <Card>
                <Chunk dataList={dataList} navTitle="平台营销" />
            </Card>
        </PageHeaderWrapper>
    )
}